package main_app;

import java.io.IOException;

public class Ex4 {

	private static final int DEVEL_FILE_INDEX = 0;
	private static final int MIN_INST_INDEX = 1;
	
	public static void main(String[] args) {
	
		// read command line arguments
		String develFileName = args[DEVEL_FILE_INDEX];
		Integer minInstances = Integer.parseInt(args[MIN_INST_INDEX]);
		
		// learn models and report results
		try {
			MainApp.run(develFileName, minInstances);
		} catch (IOException e) {
			// error reading or writing files			
			e.printStackTrace();
		}
	}

}
